<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <?php require'./phpScripts/validate.php' ?>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta name="description" content="" />
    <meta name="keywords" content="" />
    <meta name="author" content="" />
    <link rel="stylesheet" type="text/css" href="./Styles/style.css" media="screen" />
    <title>Student Survey</title>
</head>

<body>
    <div class="wrapper">
        <?php include('./includes/header.php'); ?>
        <?php include('./includes/nav.php'); ?><br>
<div class="content">
<!-- Make changes to content in this area -->
<!-- include AJAX Framework -->
    <script src="./javascript/ajax_framework.js" language="javascript"></script>
    <!-- show message for AJAX response -->
    <span id="add_survey_response"></span>
    <span class="error" id="course_name_error"></span>
    <span class="error" id="survey_name_error"></span>
    <form name="add_survey_form" action="javascript:add_survey()" method="post">
        <div>
            Course Name
            <input name="courseName" type="text" id="courseName" />
        </div>
        <div><br>
            Survey Name
            <input name="surveyName" type="text" id="surveyName" />
        </div>
        <div id="submit_block"><br>
            <input type="submit" name="submit" value="Add Survey" />
        </div>
    </form><br>
    <div id ="surveyTable">
    </div>
    <script language="javascript" type="text/javascript">populate_survey();</script>
	<!-- End area for making changes -->
</div><!-- end .content -->
    <?php include('./includes/footer.php'); ?>
    </div><!-- end .wrapper -->
</body>
</html>
